package com.ftg.learn;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 *  EnableFeignClients 开启feign
 * @author kangjx
 * @createTime 2022/9/14
 */
@SpringBootApplication
//@EnableDiscoveryClient
@EnableFeignClients
public class OpenFeignApp {

    public static void main(String[] args) {
        SpringApplication.run(OpenFeignApp.class , args);
    }

}
